package com.futao.mapper.sql;

import org.apache.ibatis.jdbc.SQL;
import org.springframework.stereotype.Component;

/**
 * @author futao
 * Created on 18-6-14-下午2:44.
 */
@Component
public class UserSql {
    public static String findByName() {
        return new SQL()
                .SELECT("*")
                .FROM("futao_user")
                .WHERE("name=#{name}")
                .toString();
    }
}
